.cate {
    height: 100%;
    display: flex;
    flex-direction: column;
    .header {
        line-height: 50px;
        font-size: 20px;
        text-align: center;
        position: relative;
        border-bottom: 1px solid #ccc;
        .search {
            position: absolute;
            right: 10px;
        }
    }

    .catelist {
        display: flex;
        flex: 1;
        height: 100%;
        .left {
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            background-color: rgb(226, 232, 249);

            box-sizing: border-box;

            li {
                height: 100%;
                text-align: center;
                list-style: none;
                display: flex;
                flex-direction: column;
                justify-content: center;

                span {
                    padding: 0 10px;
                    width: 100%;
                    height: 16px;
                    box-sizing: border-box;
                }
            }

            .active {
                background-color: white;
                border-left: 1px solid rgb(127, 159, 248);
                span {
                    color: rgb(127, 159, 248);
                    padding: 0 8px;
                }
            }
        }

        .right {
            padding: 20px;
            flex: 1;
            overflow: auto;

            .name2 {
                .title {
                    line-height: 30px;
                    font-size: 13px;

                }

                .list {
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: space-between;

                    .item {
                        width: 30%;
                        margin-bottom: 10px;

                        img {
                            width: 100%;
                            padding-left: 5px;
                        }

                        p {
                            font-size: 12px;
                            text-align: center;
                        }
                    }
                }
            }
        }
    }
}